<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>
<div>
<fieldset><legend>添加用户</legend> <s:form action="doModifyUser">
	<s:textfield label="ID" name="user.id" value="%{user.id}"
		readonly="true"></s:textfield>
	<s:textfield label="用户名" name="user.userName" value="%{user.userName}"></s:textfield>
	<s:textfield label="密码" name="user.passWord" value="%{user.passWord}"></s:textfield>
	<s:textfield label="重复密码" name="again" value="%{user.passWord}"></s:textfield>
	<s:select list="{'未激活','激活'}" name="user.status" value="%{user.status}"></s:select>
	<s:textfield label="注册时间" name="user.init_time"
		value="%{user.init_time}" readonly="true"></s:textfield>
	<s:textfield label="审批人" name="check_user"
		value="%{user.check_user.userName}" readonly="true"></s:textfield>
	<s:textfield label="审批时间" name="check_time" value="%{user.check_time}"
		readonly="true"></s:textfield>
		<s:select list="roles" name="roleId" listKey="id" listValue="roleName"
		headerKey="None" headerValue="未选择" label="所属角色" value="%{roleId}"></s:select>
	<s:submit></s:submit>
</s:form></fieldset>
</div>
</body>
</html>